import Router from "@koa/router";

const router = new Router();

// 发送验证码
router.get("/user", async (ctx) => {
	const { email } = ctx.request.body;
	ctx.status = 200;
	ctx.body = { success: false, message: "邮箱不能为空" };
});

router.post("/user-post", async (ctx) => {
	const { email } = ctx.request.body;
	ctx.status = 200;
	ctx.body = { success: false, message: "邮箱不能为空" };
});

export default router;
